package org.smi.jsonDemo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class RestDTO {

    @JsonProperty("serial_id")
    private String serialId;

    @JsonProperty("input")
    private Input input;

    @Data
    class Input {
        @JsonProperty("docId")
        private String docId;
        @JsonProperty("file_name")
        private String fileName;
        @JsonProperty("file_data")
        private String fileData;
    }
}
